package com.easycamera.net;


import com.easycamera.bean.FrameListData;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;


public interface ApiService {
    @GET("data_new.json")
    Observable<FrameListData> getFrameList();


    @GET
    @Streaming
    Observable<Response<ResponseBody>> downloadFileWithDynamicUrlSync(@Url String fileUrl);
}
